package com.sh.threadmethod.threadmethod;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class SleepMethod implements Runnable{


    public static void main(String[] args) {

    }

    @Override
    public void run() {
        System.out.println("SleepMethod");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}

